/*
 * download.h
 *
 *  Created on: Feb 5, 2012
 *      Author: daniel
 */

#ifndef DOWNLOAD_H_
#define DOWNLOAD_H_

#include "../renderer.h"
#include <glib.h>

typedef struct {
	char* id;
	bool mark;
	char* name;
	double mbleft;
} job_t;

job_t* download_job_create(char* id, char* name);
void download_job_destroyvalue(gpointer data);
void download_add(job_t* j);
void download_del(job_t* j);

const renderer_t downloadrenderer;

#endif /* DOWNLOAD_H_ */
